<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<%@include file="../common/common.jsp" %>
		<title>个人中心</title>
	</head>
	<body>
		<header>
			<nav class="headerThree">
				<img src="${ctx}/image/bg2.png" alt=""/>
				<a href="${ctx }/personal/setUp" class="headerLeft"><img src="${ctx}/image/shezhi.png" alt=""/></a>
				<ul class="headerCenter">
					<li>
						<a href="${ctx}/member/personalData" >
						<c:choose>
							<c:when test="${member.mImg!=null and member.mImg!=''}">
								<img src="${baseFile}${member.mImg}" alt="" />
							</c:when>
							<c:otherwise>
								<img src="${ctx}/image/touxiang.png" alt="" />
							</c:otherwise>
						</c:choose>
						</a>
					</li>
				</ul>
				<h2>${member.mName}</h2>
				<a href="${ctx }/member/news" class="headerRight"><img src="${ctx}/image/xaoxi-.png" alt=""/></a>
			</nav>
		</header>
		<section class="personalOrder clearfix">
			<ul class="personOrder">
			   <li class="fl">
				<img src="${ctx}/image/dd1.png" alt=""/>
				<span>我的订单</span>
			   </li>
			   <li class="fr">
				 <a href="${ctx}/order/myOrders?queryStatus=0" class="fr">
					<span>查看订单</span>
					<img src="${ctx}/image/center-right.png" alt=""/>
				 </a>
			   </li>
		    </ul>
		    <div class="myOrder_classify person ">
		    	<a href="${ctx}/order/myOrders?queryStatus=1" class="fl">
		    		<img src="${ctx}/image/dd2.png" alt=""/>
		    		<p>待付款</p>
		    		<p class="shuliang">${queryStatus1count}</p>
		    	</a>
		    	<a href="${ctx}/order/myOrders?queryStatus=2" class="fl">
		    		<img src="${ctx}/image/dd3.png" alt=""/>
		    		<p>待发货</p>
		    		<p class="shuliang">${queryStatus2count}</p>
		    	</a>
		    	<a href="${ctx}/order/myOrders?queryStatus=3" class="fl">
		    		<img src="${ctx}/image/dd4.png" alt=""/>
		    		<p>待收货</p>
		    		<p class="shuliang">${queryStatus3count}</p>
		    	</a>
		    	<a href="${ctx}/order/myOrders?queryStatus=4" class="fl">
		    		<img src="${ctx}/image/dd5.png" alt=""/>
		    		<p>待评价</p>
		    		<p class="shuliang">${queryStatus4count}</p>
		    	</a>
		    	<%-- <a href="${ctx}/order/myOrders?queryStatus=5" class="fl">
		    		<img src="${ctx}/image/dd6.png" alt=""/>
		    		<p>退换货</p>
		    		<p class="shuliang">123</p>
		    	</a> --%>
		    </div>
		</section>
		<div class="personOrder myperson">
			   	<a href="${ctx }/favorites/mycollect" class="personImg">
			   		<img src="${ctx}/image/m111.png" alt=""/>
				    <span>我的收藏</span>
				    <img src="${ctx}/image/center-right.png" alt="" class="fr"/>
			   	</a>	
		    </div>
		    <div class="personOrder">
			   	<a href="${ctx }/consultComment/allEvaluate?type=2" class="personImg">
			   		<img src="${ctx}/image/m222.png" alt=""/>
				    <span>评价晒单</span>
				    <img src="${ctx}/image/center-right.png" alt="" class="fr"/>
			   	</a>	
		    </div>
		    <div class="personOrder">
			 
			   	<a href="${ctx }/consultComment/initMyConsulting?type=3" class="personImg">
			   		<img src="${ctx}/image/m333.png" alt=""/>
				    <span>我的足迹</span>
				    <img src="${ctx}/image/center-right.png" alt="" class="fr"/>
			   	</a>	
		    </div>
		   <%--  <div class="personOrder mps">
			   	<a href="${ctx }/consultComment/initMyConsulting?type=1" class="personImg">
			   		<img src="${ctx}/image/m4.png" alt=""/>
				    <span>我的咨询</span>
				    <img src="${ctx}/image/center-right.png" alt="" class="fr"/>
			   	</a>	
		    </div> --%>
		    <div class="personOrder myperson">
			   	<a href="javascript:void(0);" onclick="agentApplication();" class="personImg">
			   		<img src="${ctx}/image/mysix1.png" alt=""/>
				    <span>代理申请</span>
				    <img src="${ctx}/image/center-right.png" alt="" class="fr"/>
				    </a>
		    </div>
		    <div class="personOrder myperson">
			
			   	<a href="${ctx }/member/aboutUs" class="personImg">
			   		<img src="${ctx}/image/my5.png" alt=""/>
				    <span>关于我们</span>
				    <img src="${ctx}/image/center-right.png" alt="" class="fr"/>
				 </a>
			  
		    </div>
		    <div class="jiange3"></div>
		
		<!-- 引入底部标签  开始 -->
		<%@include file="../common/bottom.jsp" %>
		<script type="text/javascript" src="${ctx }/js/member/personal.js"></script>
		<!-- 引入底部标签  结束 -->
	</body>

</html>
